package com.lxd.property.pojo;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import com.lxd.property.utils.CustomDateSerializer;
import com.lxd.property.utils.CustomDateSerializer2;

public class Powerroom {

	private Integer id;

	private Double pripernum, curpernum, cloaccount;

	private String qishu, remarks;
	
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date creationtime,shangdate;

	@JsonSerialize(using = CustomDateSerializer.class)
	public Date getShangdate() {
		return shangdate;
	}

	public void setShangdate(Date shangDate) {
		this.shangdate = shangDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Double getPripernum() {
		return pripernum;
	}

	public void setPripernum(Double pripernum) {
		this.pripernum = pripernum;
	}

	public Double getCurpernum() {
		return curpernum;
	}

	public void setCurpernum(Double curpernum) {
		this.curpernum = curpernum;
	}

	public Double getCloaccount() {
		return cloaccount;
	}

	public void setCloaccount(Double cloaccount) {
		this.cloaccount = cloaccount;
	}

	public String getQishu() {
		return qishu;
	}

	public void setQishu(String qishu) {
		this.qishu = qishu;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@JsonSerialize(using = CustomDateSerializer.class)
	public Date getCreationtime() {
		return creationtime;
	}

	public void setCreationtime(Date creationtime) {
		this.creationtime = creationtime;
	}

	public Powerroom() {
		super();
	}

}
